import { createApp } from "vue"
import App from "./App.vue"
import { createPinia } from 'pinia'
import { Log4js } from '@/lib/log4js'
import { router } from '@/router'
import get from 'lodash/get'
import set from 'lodash/set'
import cloneDeep from 'lodash/cloneDeep'
import 'vfonts/FiraCode.css'
import './assets/css/reset.css'
import './assets/styles/iconfont.less'
import 'default-passive-events'


const app = createApp(App)
app.config.globalProperties.$_ = window.$_ = {
    get,
    set,
    cloneDeep
}
app.config.globalProperties.$log4js = window.$dayjs = new Log4js()
app.use(router)
app.use(createPinia())
app.mount("#app")
